package com.sk.skop.demo.dao;

import com.sk.skop.demo.entity.Userinfo;

import java.sql.SQLException;

public interface IBaseDao<T> {
    void insert(T entity) throws SQLException;//增加数据
    void updateById(T entity);//修改数据
    void deleteById(Long id);//删除数据
    T selectById(Long id) throws Exception;//根据id查询数据
}
